﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DDLTesting.aspx.cs" Inherits="AUV5.Web.Testing.DDLTesting" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
        function ShareToSocial(shareUrl, shareTitle, sharepic) {
            var _w = 16, _h = 16;
            var param = {
                url: shareUrl,
                type: '3',
                count: '', /**是否显示分享数，1显示(可选)*/
                appkey: 'on', /**您申请的应用appkey,显示分享来源(可选)*/
                title: shareTitle, /**分享的文字内容(可选，默认为所在页面的title)*/
                pic: sharepic, /**分享图片的路径(可选)*/
                ralateUid: '', /**关联用户的UID，分享微博会@该用户(可选)*/
                language: 'zh_cn', /**设置语言，zh_cn|zh_tw(可选)*/
                rnd: new Date().valueOf()
            };
            var temp = [];
            for (var p in param) {
                temp.push(p + '=' + encodeURIComponent(param[p] || ''));
            };
            document.write('<iframe allowTransparency="true" frameborder="0" scrolling="no" src="http://hits.sinajs.cn/A1/weiboshare.html?' + temp.join('&') + '" width="' + _w + '" height="' + _h + '"></iframe>');
        }   
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <script type="text/javascript">
          ShareToSocial('http://www.auv5.com/Pages/Index.aspx', '123', 'http://www.auv5.com/UploadFile/Mobile/2011/12/8/2011120814385911386400_thumb.jpg');
                    </script>
      <%--  <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:DropDownList ID="ddlPro" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlPro_SelectIndexChanged">
                
                </asp:DropDownList>
                <asp:DropDownList ID="ddlCity" runat="server">
                    <asp:ListItem Text="请选择" Value="0">
                        
                    </asp:ListItem>
                </asp:DropDownList>
            </ContentTemplate>
        </asp:UpdatePanel>--%>
    </div>
    </form>
</body>
</html>
